<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Bibliotheque:  Fichier source de BdRegistry.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;Rechercher&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
<h1>BdRegistry.h</h1><a href="BdRegistry_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef BDREGISTRY_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define BDREGISTRY_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QMap&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;QObject&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;<a class="code" href="BdTypeDef_8h.html">BdTypeDef.h</a>&gt;</span>
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="keyword">class </span><a class="code" href="classBdBibliotheque.html" title="class pour representer une bibliotheque">BdBibliotheque</a>;
<a name="l00012"></a><a class="code" href="classBdRegistry.html">00012</a> <span class="keyword">class </span><a class="code" href="classBdRegistry.html" title="Class qui fait office de registre pour les bibliotheques.">BdRegistry</a> : <span class="keyword">public</span> QObject
<a name="l00013"></a>00013 {
<a name="l00014"></a>00014         Q_OBJECT
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="keyword">public</span>:
<a name="l00017"></a>00017         <span class="comment">//Constructors</span>
<a name="l00018"></a>00018         <span class="keyword">static</span> <a class="code" href="classBdRegistry.html" title="Class qui fait office de registre pour les bibliotheques.">BdRegistry</a>* <a class="code" href="classBdRegistry.html#58315f34baab00669f3950ae4bfcb9f8">instance</a>();
<a name="l00019"></a>00019         <a class="code" href="classBdBibliotheque.html" title="class pour representer une bibliotheque">BdBibliotheque</a>* <a class="code" href="classBdRegistry.html#d0012e505a2b09f525aeef4658345960">addBibliotheque</a>(<a class="code" href="classBdBibliotheque.html" title="class pour representer une bibliotheque">BdBibliotheque</a>* myBiblio);
<a name="l00020"></a>00020         <a class="code" href="classBdEditeur.html" title="Class qui represente un editeur.">BdEditeur</a>* <a class="code" href="classBdRegistry.html#4fc69014a7f6a9a4c69eaa1cfce56fc1">addEditeur</a>(<a class="code" href="classBdEditeur.html" title="Class qui represente un editeur.">BdEditeur</a>* myEditeur);
<a name="l00021"></a>00021         <span class="keywordtype">int</span> <a class="code" href="classBdRegistry.html#ef639c9f732efe19500d3659b9596e99">getGoodIdBibliotheque</a>();
<a name="l00022"></a>00022         <span class="keywordtype">int</span> <a class="code" href="classBdRegistry.html#35bde8a8d5460bfe85339adb3515910d">getGoodIdEditeur</a>();
<a name="l00023"></a>00023 <span class="keyword">private</span>:
<a name="l00024"></a>00024         <span class="comment">//Function</span>
<a name="l00025"></a>00025         <a class="code" href="classBdRegistry.html#9801cb905819b5f1604bb72c33e8ae5e">BdRegistry</a>();
<a name="l00026"></a>00026         <span class="comment">//Attributes</span>
<a name="l00027"></a><a class="code" href="classBdRegistry.html#4885077f6a2df4504eb1b54b4ad11e25">00027</a>         <span class="keyword">static</span> <a class="code" href="classBdRegistry.html" title="Class qui fait office de registre pour les bibliotheques.">BdRegistry</a>* <a class="code" href="classBdRegistry.html#4885077f6a2df4504eb1b54b4ad11e25">mInstance</a>;
<a name="l00028"></a><a class="code" href="classBdRegistry.html#966f936ababb621d29c6c6fe9df0d275">00028</a>         QMap&lt;int, BdBibliotheque*&gt; <a class="code" href="classBdRegistry.html#966f936ababb621d29c6c6fe9df0d275">mBibliotheques</a>;
<a name="l00029"></a><a class="code" href="classBdRegistry.html#b65aa08b2b160e6f98efa55a08375021">00029</a>         <span class="keywordtype">int</span> <a class="code" href="classBdRegistry.html#b65aa08b2b160e6f98efa55a08375021">maxIdBibliotheque</a>;
<a name="l00030"></a><a class="code" href="classBdRegistry.html#5d9ea3c1ab5e8f6b314551f04009c50d">00030</a>         <span class="keywordtype">int</span> <a class="code" href="classBdRegistry.html#5d9ea3c1ab5e8f6b314551f04009c50d">maxIdEditeur</a>;
<a name="l00031"></a><a class="code" href="classBdRegistry.html#22bf48109afafdb02a78f55c9765b401">00031</a>         <a class="code" href="BdTypeDef_8h.html#8c11bd0c181e3a5d3b6f814ed3368430">BdEditeurMap</a> <a class="code" href="classBdRegistry.html#22bf48109afafdb02a78f55c9765b401">mEditeurs</a>;
<a name="l00032"></a>00032 };
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="preprocessor">#endif </span><span class="comment">/*BDREGISTRY_H_*/</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Thu Jul 3 00:22:20 2008 pour Bibliotheque par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
